/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="CLASSIFICACAOITENS")
public class ClassificacaoItensProteu implements Serializable{

    @Id
    @Column(name="CLI_ST_CODIGO")
    private String cliStCodigo;
    @Column(name="CLI_ST_DESCRICAO")
    private String cliStDescricao;

    public String getCliStCodigo() {
        return cliStCodigo;
    }

    public void setCliStCodigo(String cliStCodigo) {
        this.cliStCodigo = cliStCodigo;
    }

    public String getCliStDescricao() {
        return cliStDescricao;
    }

    public void setCliStDescricao(String cliStDescricao) {
        this.cliStDescricao = cliStDescricao;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ClassificacaoItensProteu other = (ClassificacaoItensProteu) obj;
        if ((this.cliStCodigo == null) ? (other.cliStCodigo != null) : !this.cliStCodigo.equals(other.cliStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 73 * hash + (this.cliStCodigo != null ? this.cliStCodigo.hashCode() : 0);
        return hash;
    }

    
}
